//
//  AppDelegate.h
//  Philippe
//
//  Created by Maximilien Servajean on 04/05/14.
//  Copyright (c) 2014 Maximilien Servajean. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#import "Matrix.h"
#import "NSTextView-Additions.h"
#import "DDFileReader.h"

@interface AppDelegate : NSObject <NSApplicationDelegate> {
    Matrix *m;
}

@property (assign) IBOutlet NSWindow *window;

@property (weak) IBOutlet NSTextField *sonde;

@property (strong) IBOutlet NSTextView *matrice;

@property (strong) IBOutlet NSTextView *activation;

@property (strong) IBOutlet NSTextView *similarity;

@property (weak) IBOutlet NSTextField *echo;

@property (weak) IBOutlet NSSlider* slider;

- (IBAction)calcule:(id)sender;

-  (IBAction)decrementFontSize:(id)sender;
-  (IBAction)incrementFontSize:(id)sender;

- (IBAction)clear:(id)sender;

- (void)calculeSonde:(NSMutableString*)sondeString;

- (void)performCalcul:(id)inParam;

-(BOOL)application:(NSApplication *)sender openFile:(NSString *)filename;

@end
